import { createI18n } from "vue-i18n";
import english from "./language/en";
import chines from "./language/zh-cn";
const i18n = createI18n({
    legacy:false,//组合式API必须为false
    locale:'zh-cn',
    fallbackLocale:'zh-cn',
    messages:{
        'en':english,
        'zh-cn':chines
    }
});
export default i18n